'''
system environment vars.
'''


__AUTHOR__="Wan Q. Li"
__EMAIL__="lottolee@gmail.com"
__VERSION__="1.0.0.0"

import os

## global environment var.
__COMPUTERNAME=os.environ["COMPUTERNAME"]
__USERDOMAIN=os.environ["USERDOMAIN"]
__COMMONPROGRAMFILES=os.environ["COMMONPROGRAMFILES"]# 'C:\\Program Files\\Common Files', 
__PROGRAMFILES=os.environ["PROGRAMFILES"]				# 'C:\\Program Files', 
__SYSTEMROOT=os.environ["SYSTEMROOT"]						# 'C:\\Windows',
__COMSPEC=os.environ["COMSPEC"]									# 'C:\\Windows\\system32\\cmd.exe', 
__TEMP=os.environ["TEMP"]												# 'C:\\Users\\wli\\AppData\\Local\\Temp', 
__PROCESSOR_ARCHITECTURE=os.environ["PROCESSOR_ARCHITECTURE"]# 'x86', 
__WINDIR=os.environ["WINDIR"]										# 'C:\\Windows', 
__SYSTEMDRIVE=os.environ["SYSTEMDRIVE"]					# 'C:', 
__NUMBER_OF_PROCESSORS=os.environ["NUMBER_OF_PROCESSORS"]	# '2', 
__USERDNSDOMAIN=os.environ["USERDNSDOMAIN"]			# 'NVTL.LOCAL', 
__USERPROFILE=os.environ["USERPROFILE"]					# 'C:\\Users\\wli', 
__OS=os.environ["OS"]														# 'Windows_NT', 
__PUBLIC=os.environ["PUBLIC"]										# 'C:\\Users\\Public', 
__USERNAME=os.environ["USERNAME"]								# 'wli', 
__LOGONSERVER=os.environ["LOGONSERVER"]					# '\\\\NVTLSDSDC01', 


### debug

print("\n##########################################\n")
print("Welcome to Automatic Test Tools Framework!\n")

print("Author:", __AUTHOR__)
print("Email:", __EMAIL__)
print("Version:", __VERSION__)

print("\nComputer Name:", __COMPUTERNAME)
print("User Domain:",__USERDOMAIN)
print("User Name:",__USERNAME)
print("Logon Server:",__LOGONSERVER)
print("Common Files:",__COMMONPROGRAMFILES)
print("Program Files:",__PROGRAMFILES)
print("System Root:",__SYSTEMROOT)
print("Command Path:",__COMSPEC)
print("Temp Path:",__TEMP)
print("Processor Arch:",__PROCESSOR_ARCHITECTURE)
print("Windows Directory:",__WINDIR)
print("System Driver:",__SYSTEMDRIVE)
print("Processors:",__NUMBER_OF_PROCESSORS)
print("User DNS Domain:",__USERDNSDOMAIN)
print("User Profile:",__USERPROFILE)
print("OS:",__OS)
print("Public Path:",__PUBLIC)

print("\n##########################################\n")
